home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3usrchn.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.7 KB  |  75 lines

  1.  
  2. // JavaScript wrapper for r3usrchn.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_USERCHANNEL_H = 1;
  7. include("oops/r3model.js")
  8.  
  9.  
  10. var R3CLID_USERCHANNEL = 1307;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Render channels
  16. // p3: Tag[], R3USRCHNA_Renderer    
  17.  
  18. R3USERCHNM_RENDER = 1307000;
  19.  
  20. function mR3USERCHNM_RENDER(p3) {
  21.   Do(this.r3obj, 1307000, p3, R3TID_TAG, R3TNF_ARRAY);
  22. }
  23.  
  24. // Description: map user channel tag to pointwise counterpart
  25. // p3: Integer, channel id to be mapped    
  26.  
  27. R3USERCHNCM_TOPOINTWISE = 1307001;
  28.  
  29. function mR3USERCHNCM_TOPOINTWISE(p3) {
  30.   DoA(this.r3obj, 1307001, p3, R3TID_INTEGER, 0);
  31. }
  32.  
  33. // Description: inverse of above
  34. // p3: Integer, pointwise channel id to be mapped    
  35.  
  36. R3USERCHNCM_FROMPOINTWISE = 1307002;
  37.  
  38. function mR3USERCHNCM_FROMPOINTWISE(p3) {
  39.   DoA(this.r3obj, 1307002, p3, R3TID_INTEGER, 0);
  40. }
  41.  
  42.  
  43.  
  44.  
  45. var R3USERCHNA_Renderer = 1307500; // Object
  46. R3USERCHNA_UniqueId = 1307502;
  47. function SetR3USERCHNA_UniqueId(value) {
  48.   R3Set(this.r3obj, R3USERCHNA_UniqueId, value, R3TID_INTEGER, 0); 
  49. }
  50.  
  51. function GetR3USERCHNA_UniqueId() {
  52.   return R3Get(this.r3obj, R3USERCHNA_UniqueId, R3TID_INTEGER, 0); 
  53. }
  54.  
  55. var R3USERCHNA_DYNAMICATTRBASE = 1307520;
  56. var R3USERCHNA_POINTWISEATTRBASE = 1307720;
  57.  
  58.  
  59. function r3Userchannel () { 
  60.    this.base = r3God;
  61.    if(arguments.length) {
  62.       this.base(R3CLID_USERCHANNEL, arguments);
  63.    }
  64.    // Methods
  65.    this.RENDER=mR3USERCHNM_RENDER;
  66.    this.TOPOINTWISE=mR3USERCHNCM_TOPOINTWISE;
  67.    this.FROMPOINTWISE=mR3USERCHNCM_FROMPOINTWISE;
  68.  
  69.    // Attributes
  70.    this.GetUniqueId=GetR3USERCHNA_UniqueId;
  71.    this.SetUniqueId=SetR3USERCHNA_UniqueId;
  72. }
  73.  
  74. r3Userchannel.prototype=new r3Model;
  75. // r3usrchn.h_H